{subtemplate jameson_read:touch/header}
<div class="header">
    <div class="weui-flex">
      <div onclick="javascript:history.go(-1);"  class="weui-flex__item header_left">
          <i class="fa fa-chevron-left"></i>
      </div>
      <div class="weui-flex__item header_title">
        <!--{lang jameson_read:zhanghuzhongxin}-->
      </div>
      <div class="weui-flex__item header_right flex-2">
        <a href="{eval echo mbreurl('search',0);}">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:;" class="open-popup" data-target="#bottomtab">
        <i class="fa fa-fw fa-bars"></i>
      </a>
      </div>
    </div>
</div>
<div class="weui-msg">
  <div class="">
      <a href="{if $_G['uid']}./home.php?mod=space&uid={$_G['uid']}&do=profile&mycenter=1{else}./member.php?mod=logging&action=login&{/if}">
          <img src="{if $_G['uid']}{eval echo avatar($_G['uid'],'middle',true);}{else}./source/plugin/jameson_read/images/nologin.png{/if}">
      </a>
  </div>
  <div class="weui-msg__text-area">
    <h2 class="weui-msg__title">
    <!--{if $_G['uid']}-->
      <!--{$_G['member']['username']}-->
    <!--{else}-->
      <!--{lang jameson_read:weidenglu}-->
    <!--{/if}-->
    </h2>
    <p class="weui-msg__desc">
        <a href="{if $_G['uid']}./home.php?mod=space&uid={$_G['uid']}&do=profile&mycenter=1{else}./member.php?mod=logging&action=login{/if}">
            <!--{if $_G['uid']}-->
                [<!--{$_G['group']['grouptitle']}-->]
            <!--{/if}-->
            <!--{if $_G['uid']}-->
                <!--{lang jameson_read:quluntanhuiyuanzhongxin}-->
            <!--{else}-->
                <!--{lang jameson_read:qudenglu}-->
            <!--{/if}-->
        </a>
    </p>
  </div>
</div>
<div class="weui-flex">
  <div class="weui-flex__item text-center">
      <!--{$_G['jameson_read']['trametitle']}-->
      :
      <!--{$_G['jameson_read']['tramenum']}-->
  </div>
  <div class="weui-flex__item text-center">
      <!--{if $_G['jameson_read']['trameid'] != $_G['jameson_read']['dstrameid']}-->
          <!--{$_G['jameson_read']['dstrametitle']}-->
          :
          <!--{$_G['jameson_read']['dstramenum']}-->
      <!--{/if}-->
  </div>
  <div class="weui-flex__item text-center">
      <!--{if $_G['jameson_read']['trameid'] != $_G['jameson_read']['fxtrameid'] && $_G['jameson_read']['dstrameid'] != $_G['jameson_read']['fxtrameid']}-->
          <!--{$_G['jameson_read']['fxtrametitle']}-->
          :
          <!--{$_G['jameson_read']['fxtramenum']}-->
      <!--{/if}-->
  </div>
</div>
<div class="weui-cells">
        <a class="weui-cell weui-cell_access {if $_G['uid']}open-popup"{else}" onclick="jameson.login()" {/if} data-target="#myfavores" href="javascript:;">
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-window-restore"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:woshoucangdetushu}-->
              </p>
            </div>
        </a>        
        <a class="weui-cell weui-cell_access {if $_G['uid']}open-popup"{else}" onclick="jameson.login()" {/if} data-target="#mydashangs" href="javascript:;" >
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-money"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:wodedashangjilu}-->
              </p>
            </div>
        </a>
        <a class="weui-cell weui-cell_access {if $_G['uid']}open-popup"{else}" onclick="jameson.login()" {/if} data-target="#hasbuytids" href="javascript:;">
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-shopping-basket"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:yigoumaidezhangjie}-->
              </p>
            </div>
        </a>
        <a class="weui-cell weui-cell_access {if $_G['uid']}open-popup"{else}" onclick="jameson.login()" {/if} data-target="#mybookmarks" href="javascript:;">
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-bookmark"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:wo}-->
              <!--{lang jameson_read:deshuqian}-->
              </p>
            </div>
        </a>
        <a class="weui-cell weui-cell_access {if $_G['uid']}open-popup"{else}" onclick="jameson.login()" {/if} data-target="#myshupiao" href="javascript:;">
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-credit-card"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:wo}-->
              <!--{lang jameson_read:touchudeshupiao}-->
              </p>
            </div>
        </a>
        <!--{if $_G['jameson_read']['is_author']}-->
        <a class="weui-cell weui-cell_access" href="{eval echo mbreurl('author',0);}">
            <div class="weui-cell__hd text-danger">
                <i class="fa fa-fw fa-book"></i>
            </div>
            <div class="weui-cell__bd">
              <p class="margin-left">
              <!--{lang jameson_read:zuozhezhongxin}-->
              </p>
            </div>
        </a>
        <!--{/if}-->
</div>
<div id="mydashangs" class="weui-popup__container">
  <div class="weui-popup__overlay"></div>
  <div class="weui-popup__modal">
    <div class="header">
        <div class="weui-flex">
          <div class="weui-flex__item header_left">
          <a href="javascript:;" class="close-popup">
              <i class="fa fa-chevron-left"></i>
          </a>
          </div>
          <div class="weui-flex__item header_title">
          <!--{lang jameson_read:wodedashang}-->
          </div>
          <div class="weui-flex__item header_right"></div>
        </div>
    </div>
     <div class="weui-panel weui-panel_access">
        <!--{if $dashangs}-->
       <div class="weui-panel__bd">
        <!--{loop $dashangs $key $book}-->
           <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
             <div class="weui-media-box__hd">
               <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
             </div>
             <div class="weui-media-box__bd">
               <h4 class="weui-media-box__title">
               <!--{$book['book_name']}-->
               </h4>
               <p class="weui-media-box__desc">
               <!--{$book['desco']}-->
               </p>
               <p class="weui-media-box__desc cl listmeta"> 
                 <span class="z">
                 <!--{$book['author']}-->
                 </span>
                 <span  class="y">
                 <!--{$book['category_name']}-->
                 </span>
               </p>
             </div>
           </a>
         <!--{/loop}-->
         </div>
        <!--{/if}-->
         <div class="weui-panel__ft">
            <div class="weui-cell__bd">
              <!--{if $dashangs}-->
                <a href="javascript:;" class="close-popup weui-btn weui-btn_warn">
                <!--{lang jameson_read:guanbi}-->
                </a>  
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->
            </div>
            <span class="weui-cell__ft"></span>
         </div>
     </div>
  </div>
</div>

<div id="mybookmarks" class="weui-popup__container">
  <div class="weui-popup__overlay"></div>
  <div class="weui-popup__modal">
    <div class="header">
        <div class="weui-flex">
          <div class="weui-flex__item header_left">
          <a href="javascript:;" class="close-popup">
              <i class="fa fa-chevron-left"></i>
          </a>
          </div>
          <div class="weui-flex__item header_title">
          <!--{lang jameson_read:wo}-->
          <!--{lang jameson_read:deshuqian}-->
          </div>
          <div class="weui-flex__item header_right"></div>
        </div>
    </div>
     <div class="weui-panel weui-panel_access">
        <!--{if $mybookmarks}-->
       <div class="weui-panel__bd">
        <!--{loop $mybookmarks $key $book}-->
           <a href="{eval echo mbreurl('thread',$book['tid'],$book['pid'],$_G['uid']);}" class="weui-media-box weui-media-box_appmsg">
             <div class="weui-media-box__hd">
               <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
             </div>
             <div class="weui-media-box__bd">
               <h4 class="weui-media-box__title">
               <!--{$book['subject']}-->
               </h4>
             </div>
           </a>
         <!--{/loop}-->
         </div>
        <!--{/if}-->
         <div class="weui-panel__ft">
            <div class="weui-cell__bd">
                <!--{if $mybookmarks}-->
                <a href="javascript:;" class="close-popup weui-btn weui-btn_warn">
                <!--{lang jameson_read:guanbi}-->
                </a>  
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->  
            </div>
            <span class="weui-cell__ft"></span>
         </div>
     </div>
  </div>
</div>

<div id="myfavores" class="weui-popup__container">
  <div class="weui-popup__overlay"></div>
  <div class="weui-popup__modal">
    <div class="header">
        <div class="weui-flex">
          <div class="weui-flex__item header_left">
          <a href="javascript:;" class="close-popup">
              <i class="fa fa-chevron-left"></i>
          </a>
          </div>
          <div class="weui-flex__item header_title">
          <!--{lang jameson_read:woshoucangdetushu}-->
          </div>
          <div class="weui-flex__item header_right"></div>
        </div>
    </div>
     <div class="weui-panel weui-panel_access">
        <!--{if $favores}-->
       <div class="weui-panel__bd">
        <!--{loop $favores $key $book}-->
           <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
             <div class="weui-media-box__hd">
               <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
             </div>
             <div class="weui-media-box__bd">
               <h4 class="weui-media-box__title">
               <!--{$book['book_name']}-->
               </h4>
               <p class="weui-media-box__desc">
               <!--{$book['desco']}-->
               </p>
               <p class="weui-media-box__desc cl listmeta"> 
                 <span class="z">
                 <!--{$book['author']}-->
                 </span>
                 <span  class="y">
                 <!--{$book['category_name']}-->
                 </span>
               </p>
             </div>
           </a>
         <!--{/loop}-->
         </div>
        <!--{/if}-->
         <div class="weui-panel__ft">
            <div class="weui-cell__bd">
                <!--{if $favores}-->
                <a href="javascript:;" class="close-popup weui-btn weui-btn_warn">
                <!--{lang jameson_read:guanbi}-->

                </a>  
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->  
            </div>
            <span class="weui-cell__ft"></span>
         </div>
     </div>
  </div>
</div>


<div id="hasbuytids" class="weui-popup__container">
  <div class="weui-popup__overlay"></div>
  <div class="weui-popup__modal">
    <div class="header">
        <div class="weui-flex">
          <div class="weui-flex__item header_left">
          <a href="javascript:;" class="close-popup">
              <i class="fa fa-chevron-left"></i>
          </a>
          </div>
          <div class="weui-flex__item header_title">
          <!--{lang jameson_read:yigoumaidezhangjie}-->
          </div>
          <div class="weui-flex__item header_right"></div>
        </div>
    </div>
     <div class="weui-panel weui-panel_access">
        <!--{if $hasbuytids}-->
       <div class="weui-panel__bd">
        <!--{loop $hasbuytids $key $book}-->
           <a href="{eval echo mbreurl('thread',$book['tid'],$book['pid'],$_G['uid']);}" class="weui-media-box weui-media-box_appmsg">
             <div class="weui-media-box__hd">
               <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
             </div>
             <div class="weui-media-box__bd">
               <h4 class="weui-media-box__title">
               <!--{$book['subject']}-->
               </h4>
               <p class="weui-media-box__desc cl listmeta"> 
                <span class="z">
                <!--{$book['author']}-->
                </span>
                <span  class="y">
                <!--{$book['category_name']}-->
                </span>
              </p>
             </div>
           </a>
         <!--{/loop}-->
         </div>
        <!--{/if}-->
        <div class="weui-panel__ft">
            <div class="weui-cell__bd">
               <!--{if $hasbuytids}-->
                <a href="javascript:;" class="close-popup weui-btn weui-btn_warn">
                <!--{lang jameson_read:guanbi}-->
                </a>  
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}--> 
            </div>
            <span class="weui-cell__ft"></span>
         </div>
     </div>
  </div>
</div>

<div id="myshupiao" class="weui-popup__container">
  <div class="weui-popup__overlay"></div>
  <div class="weui-popup__modal">
    <div class="header">
        <div class="weui-flex">
          <div class="weui-flex__item header_left">
          <a href="javascript:;" class="close-popup">
              <i class="fa fa-chevron-left"></i>
          </a>
          </div>
          <div class="weui-flex__item header_title">
          <!--{lang jameson_read:touchudeshupiao}-->
          </div>
          <div class="weui-flex__item header_right"></div>
        </div>
    </div>
     <div class="weui-panel weui-panel_access">
        <!--{if $myshupiao}-->
       <div class="weui-panel__bd">
        <!--{loop $myshupiao $key $book}-->
           <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
             <div class="weui-media-box__hd">
               <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
             </div>
             <div class="weui-media-box__bd">
               <h4 class="weui-media-box__title">
               <!--{$book['book_name']}-->
               </h4>
               <p class="weui-media-box__desc">
               <!--{$book['desco']}-->
               </p>
               <p class="weui-media-box__desc cl listmeta"> 
                 <span class="z">
                 <!--{$book['author']}-->
                 </span>
                 <span  class="y">
                 <!--{$book['category_name']}-->
                 </span>
               </p>
             </div>
           </a>
         <!--{/loop}-->
         </div>
        <!--{/if}-->
        <div class="weui-panel__ft">
            <div class="weui-cell__bd">
                <!--{if $myshupiao}-->
                <a href="javascript:;" class="close-popup weui-btn weui-btn_warn">
                <!--{lang jameson_read:guanbi}-->
                </a>  
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->   
            </div>
            <span class="weui-cell__ft"></span>
         </div>
     </div>
  </div>
</div>
<!--{subtemplate jameson_read:touch/footer}-->